<?
global $db;

$db->autoquery("update",$this->table,array(
	"{$this->key}"=>$this->id,
	"{$params["name"]}"=>date("Y-m-d H:i:s"),
	));
?>